<?php
Route::group([
    'namespace' => 'Wechat',
    'prefix' => 'wechat'
], function () {
    // 注册。
    Route::get('register', [
        'as' => 'WechatRegister',
        'uses' => 'AuthController@register'
    ]);

    Route::post('register', [
        'as' => 'WechatRegisterAction',
        'uses' => 'AuthController@saveRegister'
    ]);
});